/*
 * Wereld.cpp
 *
 *  Created on: Apr 5, 2012
 *      Author: pleun
 */

#include "Wereld.h"

void Wereld::run() {
	for (;;) {
		strncpy(wereld, "abcdefghi", 9);
		usleep(20000);
		strncpy(wereld, "ABCDEFGHI", 9);
		usleep(20000);
		strncpy(wereld, "123456789", 9);
		usleep(20000);
		strncpy(wereld, "klmnopqrs", 9);
		usleep(20000);
	}

}

char Wereld::getNieuwBeeld(int cameraId) {
	return wereld[cameraId - 1];
}





